package com.google.code.p.restrpc.client.registry;

import com.google.code.p.restrpc.directory.RemoteServiceDefinitionPack;

/**
 * @author dz
 */
public interface RegistryClient {
    
    /**
     * @param serviceName
     * @param lastModifiedMillis
     *            specified -1l if it's the first invoke
     * @return
     */
    public RemoteServiceDefinitionPack lookup(String serviceName,
                                              long lastModifiedMillis);
    
}
